home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / dev / c / vbcc.lha / vbcc / targets / ppc-warpos / include / inline / glut_protos.h < prev    next >
Text File  |  2001-04-28  |  27KB  |  343 lines

  1.  void __glutInit(int *argcp, char **argv) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-34(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  2. #define glutInit(x1,x2) __glutInit((x1),(x2))
  3.  
  4.  void __glutInitDisplayMode(unsigned int mode) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-40(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  5. #define glutInitDisplayMode(x1) __glutInitDisplayMode((x1))
  6.  
  7.  void __glutInitDisplayString(const char *string) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-46(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  8. #define glutInitDisplayString(x1) __glutInitDisplayString((x1))
  9.  
  10.  void __glutInitWindowPosition(int x, int y) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-52(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  11. #define glutInitWindowPosition(x1,x2) __glutInitWindowPosition((x1),(x2))
  12.  
  13.  void __glutInitWindowSize(int width, int height) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-58(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  14. #define glutInitWindowSize(x1,x2) __glutInitWindowSize((x1),(x2))
  15.  
  16.  void __glutMainLoop(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-64(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  17. #define glutMainLoop() __glutMainLoop()
  18.  
  19.  int __glutCreateWindow(const char *title) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-70(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  20. #define glutCreateWindow(x1) __glutCreateWindow((x1))
  21.  
  22.  int __glutCreateSubWindow(int win, int x, int y, int width, int height) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-76(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  23. #define glutCreateSubWindow(x1,x2,x3,x4,x5) __glutCreateSubWindow((x1),(x2),(x3),(x4),(x5))
  24.  
  25.  void __glutDestroyWindow(int win) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-82(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  26. #define glutDestroyWindow(x1) __glutDestroyWindow((x1))
  27.  
  28.  void __glutPostRedisplay(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-88(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  29. #define glutPostRedisplay() __glutPostRedisplay()
  30.  
  31.  void __glutSwapBuffers(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-94(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  32. #define glutSwapBuffers() __glutSwapBuffers()
  33.  
  34.  int __glutGetWindow(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-100(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  35. #define glutGetWindow() __glutGetWindow()
  36.  
  37.  void __glutSetWindow(int win) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-106(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  38. #define glutSetWindow(x1) __glutSetWindow((x1))
  39.  
  40.  void __glutSetWindowTitle(const char *title) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-112(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  41. #define glutSetWindowTitle(x1) __glutSetWindowTitle((x1))
  42.  
  43.  void __glutSetIconTitle(const char *title) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-118(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  44. #define glutSetIconTitle(x1) __glutSetIconTitle((x1))
  45.  
  46.  void __glutPositionWindow(int x, int y) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-124(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  47. #define glutPositionWindow(x1,x2) __glutPositionWindow((x1),(x2))
  48.  
  49.  void __glutReshapeWindow(int width, int height) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-130(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  50. #define glutReshapeWindow(x1,x2) __glutReshapeWindow((x1),(x2))
  51.  
  52.  void __glutPopWindow(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-136(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  53. #define glutPopWindow() __glutPopWindow()
  54.  
  55.  void __glutPushWindow(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-142(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  56. #define glutPushWindow() __glutPushWindow()
  57.  
  58.  void __glutIconifyWindow(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-148(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  59. #define glutIconifyWindow() __glutIconifyWindow()
  60.  
  61.  void __glutShowWindow(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-154(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  62. #define glutShowWindow() __glutShowWindow()
  63.  
  64.  void __glutHideWindow(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-160(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  65. #define glutHideWindow() __glutHideWindow()
  66.  
  67.  void __glutFullScreen(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-166(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  68. #define glutFullScreen() __glutFullScreen()
  69.  
  70.  void __glutSetCursor(int cursor) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-172(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  71. #define glutSetCursor(x1) __glutSetCursor((x1))
  72.  
  73.  void __glutWarpPointer(int x, int y) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-178(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  74. #define glutWarpPointer(x1,x2) __glutWarpPointer((x1),(x2))
  75.  
  76.  void __glutEstablishOverlay(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-184(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  77. #define glutEstablishOverlay() __glutEstablishOverlay()
  78.  
  79.  void __glutRemoveOverlay(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-190(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  80. #define glutRemoveOverlay() __glutRemoveOverlay()
  81.  
  82.  void __glutUseLayer(GLenum layer) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-196(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  83. #define glutUseLayer(x1) __glutUseLayer((x1))
  84.  
  85.  void __glutPostOverlayRedisplay(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-202(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  86. #define glutPostOverlayRedisplay() __glutPostOverlayRedisplay()
  87.  
  88.  void __glutShowOverlay(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-208(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  89. #define glutShowOverlay() __glutShowOverlay()
  90.  
  91.  void __glutHideOverlay(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-214(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  92. #define glutHideOverlay() __glutHideOverlay()
  93.  
  94.  int __glutCreateMenu(void (*)(int)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-220(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  95. #define glutCreateMenu(x1) __glutCreateMenu((x1))
  96.  
  97.  void __glutDestroyMenu(int menu) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-226(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  98. #define glutDestroyMenu(x1) __glutDestroyMenu((x1))
  99.  
  100.  int __glutGetMenu(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-232(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  101. #define glutGetMenu() __glutGetMenu()
  102.  
  103.  void __glutSetMenu(int menu) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-238(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  104. #define glutSetMenu(x1) __glutSetMenu((x1))
  105.  
  106.  void __glutAddMenuEntry(const char *label, int value) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-244(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  107. #define glutAddMenuEntry(x1,x2) __glutAddMenuEntry((x1),(x2))
  108.  
  109.  void __glutAddSubMenu(const char *label, int submenu) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-250(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  110. #define glutAddSubMenu(x1,x2) __glutAddSubMenu((x1),(x2))
  111.  
  112.  void __glutChangeToMenuEntry(int item, const char *label, int value) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-256(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  113. #define glutChangeToMenuEntry(x1,x2,x3) __glutChangeToMenuEntry((x1),(x2),(x3))
  114.  
  115.  void __glutChangeToSubMenu(int item, const char *label, int submenu) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-262(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  116. #define glutChangeToSubMenu(x1,x2,x3) __glutChangeToSubMenu((x1),(x2),(x3))
  117.  
  118.  void __glutRemoveMenuItem(int item) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-268(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  119. #define glutRemoveMenuItem(x1) __glutRemoveMenuItem((x1))
  120.  
  121.  void __glutAttachMenu(int button) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-274(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  122. #define glutAttachMenu(x1) __glutAttachMenu((x1))
  123.  
  124.  void __glutDetachMenu(int button) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-280(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  125. #define glutDetachMenu(x1) __glutDetachMenu((x1))
  126.  
  127.  void __glutDisplayFunc(void (*func)(void)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-286(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  128. #define glutDisplayFunc(x1) __glutDisplayFunc((x1))
  129.  
  130.  void __glutReshapeFunc(void (*func)(int width, int height)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-292(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  131. #define glutReshapeFunc(x1) __glutReshapeFunc((x1))
  132.  
  133.  void __glutKeyboardFunc(void (*func)(unsigned char key, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-298(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  134. #define glutKeyboardFunc(x1) __glutKeyboardFunc((x1))
  135.  
  136.  void __glutMouseFunc(void (*func)(int button, int state, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-304(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  137. #define glutMouseFunc(x1) __glutMouseFunc((x1))
  138.  
  139.  void __glutMotionFunc(void (*func)(int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-310(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  140. #define glutMotionFunc(x1) __glutMotionFunc((x1))
  141.  
  142.  void __glutPassiveMotionFunc(void (*func)(int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-316(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  143. #define glutPassiveMotionFunc(x1) __glutPassiveMotionFunc((x1))
  144.  
  145.  void __glutEntryFunc(void (*func)(int state)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-322(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  146. #define glutEntryFunc(x1) __glutEntryFunc((x1))
  147.  
  148.  void __glutVisibilityFunc(void (*func)(int state)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-328(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  149. #define glutVisibilityFunc(x1) __glutVisibilityFunc((x1))
  150.  
  151.  void __glutIdleFunc(void (*func)(void)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-334(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  152. #define glutIdleFunc(x1) __glutIdleFunc((x1))
  153.  
  154.  void __glutTimerFunc(unsigned int millis, void (*func)(int value), int value) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-340(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  155. #define glutTimerFunc(x1,x2,x3) __glutTimerFunc((x1),(x2),(x3))
  156.  
  157.  void __glutMenuStateFunc(void (*func)(int state)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-346(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  158. #define glutMenuStateFunc(x1) __glutMenuStateFunc((x1))
  159.  
  160.  void __glutSpecialFunc(void (*func)(int key, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-352(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  161. #define glutSpecialFunc(x1) __glutSpecialFunc((x1))
  162.  
  163.  void __glutSpaceballMotionFunc(void (*func)(int x, int y, int z)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-358(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  164. #define glutSpaceballMotionFunc(x1) __glutSpaceballMotionFunc((x1))
  165.  
  166.  void __glutSpaceballRotateFunc(void (*func)(int x, int y, int z)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-364(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  167. #define glutSpaceballRotateFunc(x1) __glutSpaceballRotateFunc((x1))
  168.  
  169.  void __glutSpaceballButtonFunc(void (*func)(int button, int state)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-370(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  170. #define glutSpaceballButtonFunc(x1) __glutSpaceballButtonFunc((x1))
  171.  
  172.  void __glutButtonBoxFunc(void (*func)(int button, int state)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-376(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  173. #define glutButtonBoxFunc(x1) __glutButtonBoxFunc((x1))
  174.  
  175.  void __glutDialsFunc(void (*func)(int dial, int value)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-382(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  176. #define glutDialsFunc(x1) __glutDialsFunc((x1))
  177.  
  178.  void __glutTabletMotionFunc(void (*func)(int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-388(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  179. #define glutTabletMotionFunc(x1) __glutTabletMotionFunc((x1))
  180.  
  181.  void __glutTabletButtonFunc(void (*func)(int button, int state, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-394(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  182. #define glutTabletButtonFunc(x1) __glutTabletButtonFunc((x1))
  183.  
  184.  void __glutMenuStatusFunc(void (*func)(int status, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-400(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  185. #define glutMenuStatusFunc(x1) __glutMenuStatusFunc((x1))
  186.  
  187.  void __glutOverlayDisplayFunc(void (*func)(void)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-406(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  188. #define glutOverlayDisplayFunc(x1) __glutOverlayDisplayFunc((x1))
  189.  
  190.  void __glutWindowStatusFunc(void (*func)(int state)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-412(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  191. #define glutWindowStatusFunc(x1) __glutWindowStatusFunc((x1))
  192.  
  193.  void __glutSetColor(int, GLfloat red, GLfloat green, GLfloat blue) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-418(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  194. #define glutSetColor(x1,x2,x3,x4) __glutSetColor((x1),(x2),(x3),(x4))
  195.  
  196.  GLfloat __glutGetColor(int ndx, int component) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-424(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  197. #define glutGetColor(x1,x2) __glutGetColor((x1),(x2))
  198.  
  199.  void __glutCopyColormap(int win) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-430(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  200. #define glutCopyColormap(x1) __glutCopyColormap((x1))
  201.  
  202.  int __glutGet(GLenum type) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-436(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  203. #define glutGet(x1) __glutGet((x1))
  204.  
  205.  int __glutDeviceGet(GLenum type) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-442(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  206. #define glutDeviceGet(x1) __glutDeviceGet((x1))
  207.  
  208.  int __glutExtensionSupported(const char *name) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-448(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  209. #define glutExtensionSupported(x1) __glutExtensionSupported((x1))
  210.  
  211.  int __glutGetModifiers(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-454(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  212. #define glutGetModifiers() __glutGetModifiers()
  213.  
  214.  int __glutLayerGet(GLenum type) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-460(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  215. #define glutLayerGet(x1) __glutLayerGet((x1))
  216.  
  217.  void __glutBitmapCharacter(void *font, int character) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-466(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  218. #define glutBitmapCharacter(x1,x2) __glutBitmapCharacter((x1),(x2))
  219.  
  220.  int __glutBitmapWidth(void *font, int character) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-472(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  221. #define glutBitmapWidth(x1,x2) __glutBitmapWidth((x1),(x2))
  222.  
  223.  void __glutStrokeCharacter(void *font, int character) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-478(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  224. #define glutStrokeCharacter(x1,x2) __glutStrokeCharacter((x1),(x2))
  225.  
  226.  int __glutStrokeWidth(void *font, int character) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-484(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  227. #define glutStrokeWidth(x1,x2) __glutStrokeWidth((x1),(x2))
  228.  
  229.  int __glutBitmapLength(void *font, const unsigned char *string) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-490(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  230. #define glutBitmapLength(x1,x2) __glutBitmapLength((x1),(x2))
  231.  
  232.  int __glutStrokeLength(void *font, const unsigned char *string) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-496(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  233. #define glutStrokeLength(x1,x2) __glutStrokeLength((x1),(x2))
  234.  
  235.  void __glutWireSphere(GLdouble radius, GLint slices, GLint stacks) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-502(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  236. #define glutWireSphere(x1,x2,x3) __glutWireSphere((x1),(x2),(x3))
  237.  
  238.  void __glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-508(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  239. #define glutSolidSphere(x1,x2,x3) __glutSolidSphere((x1),(x2),(x3))
  240.  
  241.  void __glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-514(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  242. #define glutWireCone(x1,x2,x3,x4) __glutWireCone((x1),(x2),(x3),(x4))
  243.  
  244.  void __glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-520(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  245. #define glutSolidCone(x1,x2,x3,x4) __glutSolidCone((x1),(x2),(x3),(x4))
  246.  
  247.  void __glutWireCube(GLdouble size) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-526(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  248. #define glutWireCube(x1) __glutWireCube((x1))
  249.  
  250.  void __glutSolidCube(GLdouble size) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-532(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  251. #define glutSolidCube(x1) __glutSolidCube((x1))
  252.  
  253.  void __glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-538(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  254. #define glutWireTorus(x1,x2,x3,x4) __glutWireTorus((x1),(x2),(x3),(x4))
  255.  
  256.  void __glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-544(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  257. #define glutSolidTorus(x1,x2,x3,x4) __glutSolidTorus((x1),(x2),(x3),(x4))
  258.  
  259.  void __glutWireDodecahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-550(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  260. #define glutWireDodecahedron() __glutWireDodecahedron()
  261.  
  262.  void __glutSolidDodecahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-556(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  263. #define glutSolidDodecahedron() __glutSolidDodecahedron()
  264.  
  265.  void __glutWireTeapot(GLdouble size) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-562(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  266. #define glutWireTeapot(x1) __glutWireTeapot((x1))
  267.  
  268.  void __glutSolidTeapot(GLdouble size) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-568(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  269. #define glutSolidTeapot(x1) __glutSolidTeapot((x1))
  270.  
  271.  void __glutWireOctahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-574(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  272. #define glutWireOctahedron() __glutWireOctahedron()
  273.  
  274.  void __glutSolidOctahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-580(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  275. #define glutSolidOctahedron() __glutSolidOctahedron()
  276.  
  277.  void __glutWireTetrahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-586(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  278. #define glutWireTetrahedron() __glutWireTetrahedron()
  279.  
  280.  void __glutSolidTetrahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-592(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  281. #define glutSolidTetrahedron() __glutSolidTetrahedron()
  282.  
  283.  void __glutWireIcosahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-598(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  284. #define glutWireIcosahedron() __glutWireIcosahedron()
  285.  
  286.  void __glutSolidIcosahedron(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-604(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  287. #define glutSolidIcosahedron() __glutSolidIcosahedron()
  288.  
  289.  int __glutVideoResizeGet(GLenum param) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-610(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  290. #define glutVideoResizeGet(x1) __glutVideoResizeGet((x1))
  291.  
  292.  void __glutSetupVideoResizing(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-616(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  293. #define glutSetupVideoResizing() __glutSetupVideoResizing()
  294.  
  295.  void __glutStopVideoResizing(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-622(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  296. #define glutStopVideoResizing() __glutStopVideoResizing()
  297.  
  298.  void __glutVideoResize(int x, int y, int width, int height) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-628(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  299. #define glutVideoResize(x1,x2,x3,x4) __glutVideoResize((x1),(x2),(x3),(x4))
  300.  
  301.  void __glutVideoPan(int x, int y, int width, int height) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-634(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  302. #define glutVideoPan(x1,x2,x3,x4) __glutVideoPan((x1),(x2),(x3),(x4))
  303.  
  304.  void __glutReportErrors(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-640(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  305. #define glutReportErrors() __glutReportErrors()
  306.  
  307.  void __glutKeyboardUpFunc(void (*func)(unsigned char key, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-646(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  308. #define glutKeyboardUpFunc(x1) __glutKeyboardUpFunc((x1))
  309.  
  310.  void __glutSpecialUpFunc(void (*func)(int key, int x, int y)) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-652(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  311. #define glutSpecialUpFunc(x1) __glutSpecialUpFunc((x1))
  312.  
  313.  void __glutJoystickFunc(void (*func)(unsigned int buttonMask, int x, int y, int z), int pollInterval) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-658(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  314. #define glutJoystickFunc(x1,x2) __glutJoystickFunc((x1),(x2))
  315.  
  316.  void __glutIgnoreKeyRepeat(int ignore) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-664(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  317. #define glutIgnoreKeyRepeat(x1) __glutIgnoreKeyRepeat((x1))
  318.  
  319.  void __glutSetKeyRepeat(int repeatMode) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-670(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  320. #define glutSetKeyRepeat(x1) __glutSetKeyRepeat((x1))
  321.  
  322.  void __glutForceJoystickFunc(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-676(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  323. #define glutForceJoystickFunc() __glutForceJoystickFunc()
  324.  
  325.  int __glutEnterGameMode(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-682(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  326. #define glutEnterGameMode() __glutEnterGameMode()
  327.  
  328.  void __glutLeaveGameMode(void) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-688(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  329. #define glutLeaveGameMode() __glutLeaveGameMode()
  330.  
  331.  int __glutGameModeGet(GLenum mode) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-694(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  332. #define glutGameModeGet(x1) __glutGameModeGet((x1))
  333.  
  334.  void __glutGameModeString(const char *string) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-700(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  335. #define glutGameModeString(x1) __glutGameModeString((x1))
  336.  
  337.  void __glutPostWindowRedisplay(int win) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-706(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  338. #define glutPostWindowRedisplay(x1) __glutPostWindowRedisplay((x1))
  339.  
  340.  void __glutPostWindowOverlayRedisplay(int win) = "\tstw\tr2,20(r1)\n\t.extern\t_glutppcBase\n\tlwz\tr2,_glutppcBase(r2)\n\tlwz\tr0,-712(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  341. #define glutPostWindowOverlayRedisplay(x1) __glutPostWindowOverlayRedisplay((x1))
  342.  
  343.